﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class Rec_CurencyCollection : List<Rec_Curency>
    {
         public int IndexOf(Rec_Curency item)
        {
            return base.IndexOf(item);
        }
        public void Insert(int index, Rec_Curency item)
        {
            base.Insert(index, item);
        }
        public new void RemoveAt(int index)
        {
            base.RemoveAt(index);
        }
        public Rec_Curency this[int index]
        {
            get
            {
                return base[index];
            }
            set
            {
                base[index] = value;
            }
        }
        public void Add(Rec_Curency item)
        {
            base.Add(item);
        }
        public new void Clear()
        {
            base.Clear();
        }
        public new bool Contains(Rec_Curency item)
        {
            return base.Contains(item);
        }
        public new void CopyTo(Rec_Curency[] array, int arrayIndex)
        {
            base.CopyTo(array, arrayIndex);
        }
        public new int Count
        {
            get
            {
                return base.Count;
            }
        }
        public bool IsReadOnly
        {
            get
            {
                return IsReadOnly;
            }
        }
        public new void Remove(Rec_Curency item)
        {
            base.Remove(item);
        }
        public new IEnumerator<Rec_Curency> GetEnumerator()
        {
            return base.GetEnumerator();
        } 
    }
    public class Rec_Curency
    {
        private int _IdCurencyType;

        public int IdCurencyType
        {
            get { return _IdCurencyType; }
            set { _IdCurencyType = value; }
        }
        private string _CurencyTypeName;

        public string CurencyTypeName
        {
            get { return _CurencyTypeName; }
            set { _CurencyTypeName = value; }
        }
        private double _Denominations;

        public double Denominations
        {
            get { return _Denominations; }
            set { _Denominations = value; }
        }
    }
}
